<?php

class ConstantsUtil
{

    const ROW_PER_PAGE= 20;

    const TIME_CACHE_300  = 300;
    const TIME_CACHE_900  = 900;
    const TIME_CACHE_1800 = 1800;
    const TIME_CACHE_3600  = 3600;
    const TIME_CACHE_86400 = 86400;
    
    const MIEN_BAC = 1;
    const MIEN_TRUNG = 2;
    const MIEN_NAM = 3;
    
    const BEGIN_MIENNAM = 16;
    const END_MIENNAM = 17;
    
    const GIO_MO_MIENNAM = 16;
    const PHUT_MO_MIENNAM = 15;
    
    const BEGIN_MIENTRUNG = 17;
    const END_MIENTRUNG = 18;
    
    const GIO_MO_MIENTRUNG = 17;
    const PHUT_MO_MIENTRUNG = 15;
    
    const BEGIN_MIENBAC = 19;
    const END_MIENBAC = 20;
    
    const GIO_MO_MIENBAC = 19;
    const PHUT_MO_MIENBAC = 15;
    
    const PHUT_DONG = 45;
    
    const TIME_DONG_LODO_GAME_MIENBAC = 1150;
    const TIME_DONG_LODO_GAME_MIENTRUNG = 1030;
    const TIME_DONG_LODO_GAME_MIENNAM = 970;
    

    /*const HTML_MIENBAC = '<tbody>                                                                                       
                                    <tr class="bg_yellow">
                                        <td width="26%"><strong class="clred">Giải đặc biệt</strong></td>
                                        <td width="74%"><strong class="clred loading" id="giai_dacbiet">giai_dacbiet</strong></td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải nhất</td>
                                        <td><strong id="giai_nhat" class="loading">giai_nhat</strong></td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải nhì</td>
                                        <td>
                                        <strong id="giai_nhi_1" class="loading">giai_nhi_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_nhi_2" class="loading">giai_nhi_2</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải ba</td>
                                        <td>
                                        <strong id="giai_ba_1" class="loading">giai_ba_1</strong>
                                            - 
                                        <strong id="giai_ba_2" class="loading">giai_ba_2</strong>
                                            - 
                                        <strong id="giai_ba_3" class="loading">giai_ba_3</strong>
                                            - 
                                        <strong id="giai_ba_4" class="loading">giai_ba_4</strong>
                                            - 
                                        <strong id="giai_ba_5" class="loading">giai_ba_5</strong> 
                                            -
                                        <strong id="giai_ba_6" class="loading">giai_ba_6</strong> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải tư</td>
                                        <td>
                                        <strong id="giai_tu_1" class="loading">giai_tu_1</strong>
                                            &nbsp;-&nbsp; 
                                        <strong id="giai_tu_2" class="loading">giai_tu_2</strong>
                                            &nbsp;-&nbsp;
                                        <strong id="giai_tu_3" class="loading">giai_tu_3</strong>
                                            &nbsp;-&nbsp; 
                                        <strong id="giai_tu_4" class="loading">giai_tu_4</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải năm</td>
                                        <td>
                                        <strong id="giai_nam_1" class="loading">giai_nam_1</strong>
                                            - 
                                        <strong id="giai_nam_2" class="loading">giai_nam_2</strong> 
                                            - 
                                        <strong id="giai_nam_3" class="loading">giai_nam_3</strong>
                                            -
                                        <strong id="giai_nam_4" class="loading">giai_nam_4</strong>
                                            - 
                                        <strong id="giai_nam_5" class="loading">giai_nam_5</strong>
                                            - 
                                        <strong id="giai_nam_6" class="loading">giai_nam_6</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải sáu</td>
                                        <td>
                                        <strong id="giai_sau_1" class="loading">giai_sau_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_sau_2" class="loading">giai_sau_2</strong> 
                                            &nbsp;-&nbsp;                           
                                        <strong id="giai_sau_3" class="loading">giai_sau_3</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải bảy</td>
                                        <td>
                                        <strong id="giai_bay_1" class="loading">giai_bay_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_2" class="loading">giai_bay_2</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_3" class="loading">giai_bay_3</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_4" class="loading">giai_bay_4</strong>
                                        </td>
                                    </tr>
    </tbody>';
    
    const HTML_DAUDUOI_MB = '<tbody>                                                                                       
                                    <tr class=" bg_gray">
                                        <td width="42%"><strong>Đầu</strong></td>
                                        <td width="58%"><strong>Đuôi</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>0</strong></td>                                        
                                        <td><strong id="dau0">dau0</strong></td>
                                    </tr>                                    
                                    <tr>
                                        <td><strong>1</strong></td>                                        
                                        <td><strong id="dau1">dau1</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>2</strong></td>                                        
                                        <td><strong id="dau2">dau2</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>3</strong></td>                                        
                                        <td><strong id="dau3">dau3</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>4</strong></td>                                        
                                        <td><strong id="dau4">dau4</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>5</strong></td>                                        
                                        <td><strong id="dau5">dau5</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>6</strong></td>                                        
                                        <td><strong id="dau6">dau6</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>7</strong></td>                                        
                                        <td><strong id="dau7">dau7</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>8</strong></td>                                        
                                        <td><strong id="dau8">dau8</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>9</strong></td>                                        
                                        <td><strong id="dau9">dau9</strong></td>
                                    </tr> 
                                </tbody>';
                                
    const HTML_LOTO_MB = '<tbody>                                                                                       
                                <tr>
                                    <td width="11%"><strong id="loto74" class="loading">loto74</strong></td>
                                    <td width="11%"><strong id="loto73" class="loading">loto73</strong></td>
                                    <td width="11%"><strong id="loto72" class="loading">loto72</strong></td>
                                    <td width="11%"><strong id="loto71" class="loading">loto71</strong></td>
                                    <td width="11%"><strong id="loto63" class="loading">loto63</strong></td>
                                    <td width="11%"><strong id="loto62" class="loading">loto62</strong></td>
                                    <td width="11%"><strong id="loto61" class="loading">loto61</strong></td>
                                    <td width="11%"><strong id="loto56" class="loading">loto56</strong></td>
                                    <td width="11%"><strong id="loto55" class="loading">loto55</strong></td>
                                </tr>
                                <tr>
                                    <td><strong id="loto54" class="loading">loto54</strong></td>
                                    <td><strong id="loto53" class="loading">loto53</strong></td>
                                    <td><strong id="loto52" class="loading">loto52</strong></td>
                                    <td><strong id="loto51" class="loading">loto51</strong></td>
                                    <td><strong id="loto44" class="loading">loto44</strong></td>
                                    <td><strong id="loto43" class="loading">loto43</strong></td>
                                    <td><strong id="loto42" class="loading">loto42</strong></td>
                                    <td><strong id="loto41" class="loading">loto41</strong></td>
                                    <td><strong id="loto36" class="loading">loto36</strong></td>
                                </tr>
                                <tr>
                                    <td><strong id="loto35" class="loading">loto35</strong></td>
                                    <td><strong id="loto34" class="loading">loto34</strong></td>
                                    <td><strong id="loto33" class="loading">loto33</strong></td>
                                    <td><strong id="loto32" class="loading">loto32</strong></td>
                                    <td><strong id="loto31" class="loading">loto31</strong></td>
                                    <td><strong id="loto22" class="loading">loto22</strong></td>
                                    <td><strong id="loto21" class="loading">loto21</strong></td>
                                    <td><strong id="loto1" class="loading">loto1</strong></td>
                                    <td><strong id="lotodb" class="clred loading">lotodb</strong></td>
                                </tr>
                            </tbody>'; */      
                            
    const HTML_MIENBAC = '<div class="box_tab clearfix">
    <div class="tab_inner">
        <div class="tab_cont">
            <div class="inner_tab_cont">
                <div class="box_white">
                    <h2 class="title_nomal clearfix"><span class="fl"><strong class="ic_mb">Kết quả xổ số Miền Bắc</strong></span> 
                        <span class="fr"><p class="ic_kq">
                                <a href="link_hom_qa"><strong>Kết Quả Xổ Số Miền Bắc Hôm Qua</strong></a>
                            </p></span>
                    </h2>
                    <p>
                        <span class="cl_blue">Mở thưởng tại Hà Nội 
                            <span>thu_mt</span> ,
                            <span>ngay_mt</span>
                        </span>
                    </p>
                    <div class="col-425 last">
                        <div class="table1 clearfix">
                            <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                <tbody>                                                                                       
                                    <tr class="bg_yellow">
                                        <td width="26%"><strong class="clred">Giải đặc biệt</strong></td>
                                        <td width="74%"><strong class="clred loading" id="giai_dacbiet">giai_dacbiet</strong></td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải nhất</td>
                                        <td><strong id="giai_nhat" class="loading">giai_nhat</strong></td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải nhì</td>
                                        <td>
                                        <strong id="giai_nhi_1" class="loading">giai_nhi_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_nhi_2" class="loading">giai_nhi_2</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải ba</td>
                                        <td>
                                        <strong id="giai_ba_1" class="loading">giai_ba_1</strong>
                                            - 
                                        <strong id="giai_ba_2" class="loading">giai_ba_2</strong>
                                            - 
                                        <strong id="giai_ba_3" class="loading">giai_ba_3</strong>
                                            - 
                                        <strong id="giai_ba_4" class="loading">giai_ba_4</strong>
                                            - 
                                        <strong id="giai_ba_5" class="loading">giai_ba_5</strong> 
                                            -
                                        <strong id="giai_ba_6" class="loading">giai_ba_6</strong> 
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải tư</td>
                                        <td>
                                        <strong id="giai_tu_1" class="loading">giai_tu_1</strong>
                                            &nbsp;-&nbsp; 
                                        <strong id="giai_tu_2" class="loading">giai_tu_2</strong>
                                            &nbsp;-&nbsp;
                                        <strong id="giai_tu_3" class="loading">giai_tu_3</strong>
                                            &nbsp;-&nbsp; 
                                        <strong id="giai_tu_4" class="loading">giai_tu_4</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải năm</td>
                                        <td>
                                        <strong id="giai_nam_1" class="loading">giai_nam_1</strong>
                                            - 
                                        <strong id="giai_nam_2" class="loading">giai_nam_2</strong> 
                                            - 
                                        <strong id="giai_nam_3" class="loading">giai_nam_3</strong>
                                            -
                                        <strong id="giai_nam_4" class="loading">giai_nam_4</strong>
                                            - 
                                        <strong id="giai_nam_5" class="loading">giai_nam_5</strong>
                                            - 
                                        <strong id="giai_nam_6" class="loading">giai_nam_6</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải sáu</td>
                                        <td>
                                        <strong id="giai_sau_1" class="loading">giai_sau_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_sau_2" class="loading">giai_sau_2</strong> 
                                            &nbsp;-&nbsp;                           
                                        <strong id="giai_sau_3" class="loading">giai_sau_3</strong>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="text-left">Giải bảy</td>
                                        <td>
                                        <strong id="giai_bay_1" class="loading">giai_bay_1</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_2" class="loading">giai_bay_2</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_3" class="loading">giai_bay_3</strong>
                                            &nbsp;-&nbsp;  
                                        <strong id="giai_bay_4" class="loading">giai_bay_4</strong>
                                        </td>
                                    </tr>
    </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="col-120 last">
                        <div class=" table6 clearfix">  
                            <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                <tbody>                                                                                       
                                    <tr class=" bg_gray">
                                        <td width="42%"><strong>Đầu</strong></td>
                                        <td width="58%"><strong>Đuôi</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>0</strong></td>                                        
                                        <td><strong id="dau0">dau0</strong></td>
                                    </tr>                                    
                                    <tr>
                                        <td><strong>1</strong></td>                                        
                                        <td><strong id="dau1">dau1</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>2</strong></td>                                        
                                        <td><strong id="dau2">dau2</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>3</strong></td>                                        
                                        <td><strong id="dau3">dau3</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>4</strong></td>                                        
                                        <td><strong id="dau4">dau4</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>5</strong></td>                                        
                                        <td><strong id="dau5">dau5</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>6</strong></td>                                        
                                        <td><strong id="dau6">dau6</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>7</strong></td>                                        
                                        <td><strong id="dau7">dau7</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>8</strong></td>                                        
                                        <td><strong id="dau8">dau8</strong></td>
                                    </tr>
                                    <tr>
                                        <td><strong>9</strong></td>                                        
                                        <td><strong id="dau9">dau9</strong></td>
                                    </tr> 
                                </tbody>
                            </table> 
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="box_tab clearfix">
    <div class="tab_inner">
        <div class="tab_cont">
            <div class="inner_tab_cont">
                <div class="box_white">
                    <h2 class="title_nomal"><strong>Lôtô trực tiếp</strong></h2>
                    <div class="table1 clearfix">
                        <table width="100%" cellspacing="0" cellpadding="0" border="0">
                            <tbody>                                                                                       
                                <tr>
                                    <td width="11%"><strong id="loto74" class="loading">loto74</strong></td>
                                    <td width="11%"><strong id="loto73" class="loading">loto73</strong></td>
                                    <td width="11%"><strong id="loto72" class="loading">loto72</strong></td>
                                    <td width="11%"><strong id="loto71" class="loading">loto71</strong></td>
                                    <td width="11%"><strong id="loto63" class="loading">loto63</strong></td>
                                    <td width="11%"><strong id="loto62" class="loading">loto62</strong></td>
                                    <td width="11%"><strong id="loto61" class="loading">loto61</strong></td>
                                    <td width="11%"><strong id="loto56" class="loading">loto56</strong></td>
                                    <td width="11%"><strong id="loto55" class="loading">loto55</strong></td>
                                </tr>
                                <tr>
                                    <td><strong id="loto54" class="loading">loto54</strong></td>
                                    <td><strong id="loto53" class="loading">loto53</strong></td>
                                    <td><strong id="loto52" class="loading">loto52</strong></td>
                                    <td><strong id="loto51" class="loading">loto51</strong></td>
                                    <td><strong id="loto44" class="loading">loto44</strong></td>
                                    <td><strong id="loto43" class="loading">loto43</strong></td>
                                    <td><strong id="loto42" class="loading">loto42</strong></td>
                                    <td><strong id="loto41" class="loading">loto41</strong></td>
                                    <td><strong id="loto36" class="loading">loto36</strong></td>
                                </tr>
                                <tr>
                                    <td><strong id="loto35" class="loading">loto35</strong></td>
                                    <td><strong id="loto34" class="loading">loto34</strong></td>
                                    <td><strong id="loto33" class="loading">loto33</strong></td>
                                    <td><strong id="loto32" class="loading">loto32</strong></td>
                                    <td><strong id="loto31" class="loading">loto31</strong></td>
                                    <td><strong id="loto22" class="loading">loto22</strong></td>
                                    <td><strong id="loto21" class="loading">loto21</strong></td>
                                    <td><strong id="loto1" class="loading">loto1</strong></td>
                                    <td><strong id="lotodb" class="clred loading">lotodb</strong></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>';  

    public static $arr_module = array(
        1 => array("label"=>"Quản trị nhập kết quả trong ngày","name"=>"trongngay-all"),
        2 => array("label"=>"Quản trị kết quả","name"=>"ketqua-all"),
        3 => array("label"=>"Quản trị thơ đề","name"=>"thode-all"),
        4 => array("label"=>"Quản trị lodo game","name"=>"lode-all"),
        5 => array("label"=>"Quản trị khách hàng","name"=>"user-all"),
        6 => array("label"=>"Quản trị admin","name"=>"admin-all"),
        7 => array("label"=>"Quản trị dự đoán","name"=>"dudoan-all"),
        8 => array("label"=>"Quản trị messenger","name"=>"messenger-all"),
        9 => array("label"=>"Quản trị đổi thưởng","name"=>"doithuong-all"),
        10 => array("label"=>"Quản trị services","name"=>"services-all"),
    );                   
               
}
?>
